//
//  File_Operations.h
//  LearningOops
//
//  Created by Swetha Patnala on 4/21/13.
//  Copyright (c) 2013 Swetha Patnala. All rights reserved.
//

#ifndef __LearningOops__File_Operations__
#define __LearningOops__File_Operations__

#include <iostream>
#include "File_System_Manager.h"
#include "Inode.h"

#endif /* defined(__LearningOops__File_Operations__) */

class File_Operations {
    
private:
public:
    int fs_create(char* name);
    int fs_open(char* name);
    int fs_close(char* name , int fildes);
    int fs_delete(char *name);
    int fs_write(char* name , int fildes, void *buf, size_t nbyte);
    int  fs_read(char* name ,int fildes, void *buf, size_t nbyte);
    
    int inodeNumberOfTheFile(char *name);
    
    
};